import request from '@/util/request.js'
/**
 * @description 书记督
 * @param data
 * @returns {*}
 */
export function getListApi(data) {
	return request({
		url: '/api/supervision/selectAll',
		method: 'get',
		data
	})
}
/**
 * @description 我的动态
 * @param data
 * @returns {*}
 */
export function getAllListApi(data) {
	return request({
		url: '/api/supervision/getAll',
		method: 'get',
		data
	})
}
/**
 * @description 白名单
 * @param data
 * @returns {*}
 */
export function getwhiteListApi(data) {
	return request({
		url: '/api/user/whiteList',
		method: 'get',
		data
	})
}
/**
 * @description 督书记列表
 * @param data
 * @returns {*}
 */
export function getSelectListApi(data) {
	return request({
		url: '/api/supervision/selectDutiesByName',
		method: 'get',
		data
	})
}
/**
 * @description 督书记
 * @param data
 * @returns {*}
 */
export function getSecListApi(data) {
	return request({
		url: '/api/supervision/superintendentSecretary',
		method: 'get',
		data
	})
}
/**
 * @description 书记列表
 * @param data
 * @returns {*}
 */
export function getListByPidApi(data) {
	return request({
		url: '/api/supervision/getByPid',
		method: 'get',
		data
	})
}